#include"vector.h"
using namespace cwq;
void test1() {
	vector<int> T1;
	T1.push_back(1);
	T1.push_back(2);
	T1.push_back(3);
	T1.push_back(4);
	T1.pop_back();
	for (auto e : T1) {
		cout << e << " ";
	}
	cout << endl;
}
void test2() {
	vector<char> T1;
	T1.push_back('a');
	T1.push_back('b');
	T1.push_back('c');
	T1.push_back('d');
	T1.resize(6, 'e');
	vector<char>::iterator it = T1.begin();
	while (it != T1.end()) {
		cout << *it << " ";
		++it;
	}

}
void test3() {
	vector<int> T1;
	vector<int> T2;
	T1.push_back(1);
	T1.push_back(2);
	T1.push_back(3);
	T1.insert(0, 7);
	for (auto e : T1) {
		cout << e << " ";
	}
	cout << endl;
}
int main() {
	test3();
}